﻿using System;
namespace ORS.OrderRobot.ServiceContracts.Dtos
{
    /// <summary>
    /// 接口请求信息
    /// </summary>
	public class RequestInfo
	{
        /// <summary>
        /// token
        /// </summary>
        public string? BearerToken { get; set; }
        /// <summary>
        /// 请求头设置
        /// </summary>
        public Dictionary<string, string>? Headers { get; set; }
        /// <summary>
        /// url参数
        /// </summary>
        public Dictionary<string,object>? Params {get;set;}
		/// <summary>
		/// 请求内容
		/// </summary>
		public object? Body { get; set; }
        /// <summary>
        /// 不记录错误日志
        /// </summary>
        public bool DisableErrLog { get; set; } = false;

    }
}

